package com.gzhu.knowledgeAdmin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gzhu.knowledgeAdmin.common.vo.PageVo;
import com.gzhu.knowledgeAdmin.entity.Scene;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * 场景表
 *
 * @author yangminggui
 * @email giaogiao@gmail.com
 * @date 2024-01-12 23:24:33
 */
public interface SceneService extends IService<Scene> {

    PageVo queryPage(Map<String, Object> params);

    void saveScene(Scene scene);

    String importScene(MultipartFile file) throws IOException;

    void exportScene(Map<String, Object> params, HttpServletResponse response);

    List<Scene> getAll();
}

